<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
    x:Class="OpenRPOS.MainPage"
    mc:Ignorable="d" 
  >

    <Border x:Name="border" Style="{StaticResource ContentBorderStyle}" >
        <Border.Effect>
            <DropShadowEffect ShadowDepth="0" BlurRadius="10" />
        </Border.Effect>
        <Grid>
            <Grid x:Name="LayoutRoot" Style="{StaticResource LayoutRootGridStyle}" Width="750" Height="590">
                <Canvas x:Name="cnvContainer">
                    <sdk:DataGrid x:Name="dgCurrentOrder" AutoGenerateColumns="False" CanUserSortColumns="False" CanUserResizeColumns="False" CanUserReorderColumns="False" IsReadOnly="true" HorizontalAlignment="Left" Height="443" VerticalAlignment="Top" Width="225" Canvas.Left="10" Canvas.Top="55" GridLinesVisibility="None" SelectionChanged="dgCurrentOrder_SelectionChanged" >
                        <sdk:DataGrid.Columns>
                            <sdk:DataGridTextColumn Binding="{Binding MenuItemName}" Header="Item" CellStyle="{StaticResource LeftAlignCellStyle}" Visibility="Visible" Width="150"  />
                            <sdk:DataGridTextColumn Binding="{Binding DisplayPrice}" Header="Price" HeaderStyle="{StaticResource DataGridColumnHeaderStyleRight}" CellStyle="{StaticResource RightAlignCellStyle}" Visibility="Visible" Width="60"/>
                        </sdk:DataGrid.Columns>
                    </sdk:DataGrid>
                    <sdk:TabControl x:Name="tcMenuCategories" HorizontalAlignment="Left" Height="515" VerticalAlignment="Top" Width="520" Canvas.Left="229" Canvas.Top="10">
                        <sdk:TabItem>
                            <Grid/>
                        </sdk:TabItem>
                    </sdk:TabControl>
                    <ComboBox x:Name="cmbOpenOrders" HorizontalAlignment="Left" VerticalAlignment="Top" Width="214" Canvas.Left="10" Canvas.Top="10" Height="40" SelectionChanged="cmbOpenOrders_SelectionChanged"/>
                    <sdk:Label x:Name="lblTotal" Height="19" Canvas.Left="158" Canvas.Top="506" Width="66" HorizontalAlignment="Center" Content="0.00"/>
                    <sdk:Label Height="19" Canvas.Left="111" Canvas.Top="506" Width="42" HorizontalAlignment="Right" Content="Total"/>
                    <sdk:Label Height="19" Canvas.Left="10" Canvas.Top="506" Width="33" Content="Table" HorizontalAlignment="Right"/>
                    <toolkit:NumericUpDown x:Name="nudTable" Canvas.Left="10" Canvas.Top="525" Width="112" Height="55" FontSize="36"/>
                    <Button x:Name="btnDelete" Content="Delete" IsEnabled="False" Canvas.Left="145" Canvas.Top="530" Width="80" Height="50" Click="btnDelete_Click" />
                    <Button x:Name="btnSend" Content="Send" IsEnabled="False" Canvas.Left="245" Canvas.Top="530" Width="81" RenderTransformOrigin="0.44,0.484" Height="50" Click="btnSend_Click"/>
                    <Button x:Name="btnClose" Content="Close" IsEnabled="False" Canvas.Left="345" Canvas.Top="530" Width="80" Height="50" Click="btnClose_Click"/>
                    <Button x:Name="btnNew" Content="New" IsEnabled="False" Canvas.Left="445" Canvas.Top="530" Width="80" Height="50" Click="btnNew_Click"/>
                    <Button x:Name="btnLogOut" Content="Logout" Canvas.Left="623" Canvas.Top="530" Width="120" Click="btnLogOut_Click" Height="50"/>
                </Canvas>
            </Grid>
            <Rectangle x:Name="WaitCursor" Fill="LightGray" Opacity=".5" Visibility="Collapsed" Cursor="Wait" Grid.Column="2" >
                <Rectangle.Effect>
                    <BlurEffect Radius="10" />
                </Rectangle.Effect>
            </Rectangle>
        </Grid>
    </Border>
</UserControl>